CVF
CVI%
CVS$
CVL

Syntax: CVF (mkf_$)
   and: CVI% (mkf_$)
   and: CVS$ (mkf_$)
   and: CVL (mkf_$)
Location: BTool

These four functions convert string (mkf_$) which holds a value in the internal format used by the QL into something more meaningful:

CVF takes any six character long string, and returns the value as a floating point number.
CVI% takes a two character long string, and returns the value as an integer.
CVS$ takes an internal representation of a string and returns the actual string.
CVL takes a four character long string, and returns the value as a long integer.

WARNING:
These functions can lock up the computer if the string is not a correct internal representation of a value.

See MKF$ and similar which returns valid parameter for these functions.

CROSS-REFERENCE:
PEEK_F.
FPUTF and FGETF enable you to read and write floating point numbers in internal format to or from files.
